require 'xmpp'

def dir(object)
    puts (object.methods - Object.methods).sort
end

jabber_session = Xmpp::JabberSession.new("aconbere@gmail.com", "primeros")

puts jabber_session.uuid
#puts jabber_session.roster.keys

#contact = jabber_session.remove("aconbere@jabber.org")
#puts contact.jid
jabber_session.add("aconbere@jabber.org")
#puts jabber_session.roster.subscribed?(contact.jid)

puts dir(jabber_session.roster)
